#ifndef __WINDOW_H__
#define __WINDOW_H__

#ifdef	__cplusplus
extern "C" {
#endif

    typedef struct window {
        unsigned int x;
        unsigned int y;
        unsigned int w;
        unsigned int h;

        signed int firstButton;
        signed int actualButton;
        signed int actualButton_selected;

        signed int firstIcon;
        signed int actualIcon;
        signed int actualIcon_selected;

        signed int firstEditbox;
        signed int actualEditbox;
        signed int actualEditbox_selected;

        signed int firstImage;
        signed int actualImage;

        signed int firstLabel;
        signed int actualLabel;

        signed int firstListbox;
        signed int actualListbox;

        signed int firstMultieditbox;
        signed int actualMultieditbox;
        signed int actualMultieditbox_selected;

        signed int firstListener;
        signed int actualListener;

        signed int backgroundImageId;
        unsigned int backgroundColorVisible;

        unsigned short *rgbBuffer;
        unsigned char *attrBuffer;

        unsigned short backgroundColor;

        unsigned char initialized;
        unsigned char visible;
        unsigned char backgroundColorRedraw;
    } window;

#ifdef	__cplusplus
}
#endif

#endif
